import csv
import json
from time import sleep

import unittest

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC


class TestJDLogin(unittest.TestCase):

    @classmethod
    def setUpClass(cls):
        cls.driver = webdriver.Edge()
        cls.driver.maximize_window()


    @classmethod
    def tearDownClass(cls):
        cls.driver.quit()

    def test_login(self):

        self.driver.get("https://www.jd.com")
        wait = WebDriverWait(self.driver, 10)
        sleep(10)
            #

if __name__ == "__main__":
    unittest.main()
#
#     print(reverse_list([42, 63, 457, 26, 57, 82, 65, 876, 2, 856]))